<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
?>
<form action="?r=demo/demo_add" method="post">
    <div class="form-group">
        <label for="email">名称:</label>
        <input type="text" class="form-control" name="name" id="name">
    </div>
    <div class="form-group">
        <label for="pwd">价格:</label>
        <input type="text" class="form-control" name="price" id="pwd">
    </div>
    <input type="hidden" name="_csrf" value="<?php echo Yii::$app->request->csrfToken?>">
    <button type="submit" class="btn btn-primary">提交</button>
</form>
